package com.zc.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zc.blog.model.Category;
import com.zc.blog.model.Tag;

import java.util.List;

public interface ITagService extends IService<Tag> {

    Tag findById(Integer id);

    //根据文章id获取所有标签
    List<Tag> findTagsByArticleId(Integer articleId);

    //查询标签显示
    List<Tag> findShow();

}
